import request from '@/utils/request'

// 文件重命名规则列表
export function renamingruleLists(params?: Record<string, any>) {
    return request.get({ url: '/renamingrule/list', params })
}

// 文件重命名规则详情
export function renamingruleDetail(params: Record<string, any>) {
    return request.get({ url: '/renamingrule/detail', params })
}

// 文件重命名规则新增
export function renamingruleAdd(params: Record<string, any>) {
    return request.post({ url: '/renamingrule/add', params })
}

// 文件重命名规则编辑
export function renamingruleEdit(params: Record<string, any>) {
    return request.post({ url: '/renamingrule/edit', params })
}

// 文件重命名规则删除
export function renamingruleDelete(params: Record<string, any>) {
    return request.post({ url: '/renamingrule/del', params })
}
